# -*- coding: utf-8 -*-
from django.urls import path
# from rest_framework.urlpatterns import format_suffix_patterns

__author__ = 'JK'
__date__ = '2019/2/27 21:33'

from django.conf.urls import url
from apitest import views

urlpatterns = [
    url(r'^snippets/$', views.snippet_list),
    url(r'^snippets/(?P<pk>[0-9]+)/$', views.snippet_detail),
    # path('run_api_pk/<int:pk>/', views.run_api_pk),
    url(r'run_api_pk/(?P<pk>[0-9]+)/$', views.Run_api_pk.as_view(), name="API")
]
# urlpatterns = format_suffix_patterns(urlpatterns)